//
//  XZNewsCaseTitleCell.m
//  Teecloud
//
//  Created by PC on 2018/10/19.
//  Copyright © 2018年 小志. All rights reserved.
//

#import "XZNewsCaseTitleCell.h"
#import "XZNewsCase.h"
@interface XZNewsCaseTitleCell ()
//标题
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
//来源 发布时间 阅读人数
@property (weak, nonatomic) IBOutlet UILabel *sourceLabel;

@end

@implementation XZNewsCaseTitleCell

- (void)setModel:(XZNewsCase *)model{
    _model = model;
    self.titleLabel.text = model.Title;
    self.sourceLabel.text = [NSString stringWithFormat:@"%@  %@  %@",model.Source,model.PubTime,model.ReadInfo];
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
